package com.goods.business.service;

import com.goods.common.error.BusinessException;
import com.goods.common.vo.business.ProductVO;
import com.goods.common.vo.system.PageVO;

public interface ListService {
    PageVO<ProductVO> findProductList(Integer pageNum, Integer pageSize, ProductVO productVO) throws BusinessException;

    void add(ProductVO productVO);

    ProductVO edit(Long id) throws BusinessException;

    void update(Long id, ProductVO productVO);

    void remove(Long id);

    void back(Long id);

    void delete(Long id);

    void publish(Long id);
}
